﻿@model GameSchoolApplication.Models.Person

@{
    ViewBag.Title = "Nánar";
	Layout = "~/Views/Shared/_AdministratorLayout.cshtml";
}
<section id="SingleMainContent">
<h2>Nánari upplýsingar</h2>

<fieldset>
    <legend></legend>

    <div class="display-label">Nafn:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div><br />

    <div class="display-label">Netfang:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Email)
    </div><br />

    <div class="display-label">Hópur:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Group)
    </div><br />

    <div class="display-label">Notendanafn:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UserName)
    </div><br />
</fieldset>

<p>
    @Html.ActionLink("Breyta", "Edit", new { id = Model.Id}) |
    @Html.ActionLink("Til baka í lista", "Index")
</p>
</section>